<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    x:Class="OpenLS.UI.DialogResources"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ouii="clr-namespace:OpenLS.UI.Internals">
    <Style TargetType="{x:Type Popup}" x:Key="popupDialogWindow">
        <EventSetter Event ="Button.Click" Handler="OnPopupButtonClick"/>
        <Setter Property="Placement" Value="Center"></Setter>
    </Style>
    <Style TargetType="{x:Type Border}" x:Key="popupBorderStyle">
        <Setter Property="Background" Value="{x:Static SystemColors.ControlLightBrush}"/>

    </Style>
    <Style TargetType="{x:Type RadioButton}">
        <Setter Property="Margin" Value="4"/>
    </Style>
    <Style TargetType="{x:Type Button}">
        <Setter Property="Margin" Value="5"/>
        <Setter Property="MinWidth" Value="74"/>
        <Setter Property="MinHeight" Value="24"/>
        <Style.Triggers>
            <Trigger Property="IsDefault" Value="True">
                <Setter Property="Content" Value="{x:Static ouii:UIStringTable.OK}"></Setter>
            </Trigger>
            <Trigger Property="IsCancel" Value="True">
                <Setter Property="Content" Value="{x:Static ouii:UIStringTable.Cancel}"></Setter>
            </Trigger>
        </Style.Triggers>
    </Style>
    <Style TargetType="{x:Type TextBlock}" x:Key="textBlockStyle">
        <Setter Property="Margin" Value="5"/>
    </Style>
</ResourceDictionary>